<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>客服工单明细列表</title>
    <%@ include file="/WEB-INF/pages/common/meta.jsp" %>
    <%@ include file="/WEB-INF/pages/common/common.jsp" %>
    <script type="text/javascript" src="${ctx}/static/js/main.js?time=New Date()"></script>
    <script type="text/javascript" src="${ctx}/static/js/ops/statistics/csCustComplain_view.js?time=New Date()"></script>
    <script type="text/javascript" src="${ctx}/static/js/workflow/workflowCommon.js?time=New Date()"></script>
    <script type="text/javascript" src="${ctx}/static/js/expand/easyui-validatebox.expandMethod.js"></script>
</head>
<body>


<!--问题件表格 -->
<div id="tlbProblemOrder">
    <form action="#" id="formFindProblemOrder">
        <input id ="loginUserCode" type="hidden" value ="${loginUserCode}">
		<div id="aa" class="easyui-accordion">
			<div>
                <div style="float:left;margin: 4px 18px 0px 0px;">
                    <div style="float:left;">
                        <div id='div1' class="tab-active" style="float:left;writing-mode:lr-tb;text-align:center;height: 26px;width: 99px;line-height: 26px;border-left:1px solid #ccc;border-top:1px solid #ccc;"><a style="font-size: 12px;" href="javascript:void(0)" onclick="clearBillCodes1()" plain="true">&nbsp;工&nbsp;单&nbsp;号&nbsp;</a>
                        </div>
                        <div id='div2'style="float:left;writing-mode:lr-tb;text-align:center;height: 26px;width: 99px;line-height: 26px;border-left:1px solid #ccc;border-top:1px solid #ccc;border-right:1px solid #ccc;"><a style="font-size: 12px;" href="javascript:void(0)" onclick="clearBillCodes2()" plain="true">&nbsp;运&nbsp;单&nbsp;号&nbsp;</a>
                        </div>
                    </div>
                    <div style="float:none;">
                        <textarea style="resize: none;float: left; border-bottom:1px solid #ccc; border-top:1px solid #ccc;border-right:1px solid #ccc;border-right:1px solid #ccc;" id="woCodes" name="woCodes" cols=21 rows=5 placeholder="请输入订单号" class="easyui-validatebox" onkeyup="showLen(this);" onchange="this.value=value.replace(/(^\s*)|(\s*$)/g,''),this.value=this.value.toUpperCase()" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"/></textarea>
                        <div style="float:left;writing-mode:tb-rl;text-align:center;height:79px;border-top:1px solid #ccc;border-right:1px solid #ccc;border-bottom:1px solid #ccc;"><a style="font-size: 10px;line-height:30px;" href="javascript:void(0)" onclick="clearBillCodes()" plain="true">清&nbsp;除&nbsp;单&nbsp;号</a>
                        </div>
                    </div>
                </div>
				
				<div style="overflow: auto">
					<table style="width:auto">
						<tbody>
						<tr>
							<td align="right" ><input id="timeType" name="timeType"></td>
							<td><input name="beginTime" class="easyui-datetimebox"
									   editable="true" id="beginTime" class="easyui-datetimebox"
									   data-options="prompt:'请选择开始时间'" style="width: 155px;"/></td>
							<td align="right" >至:</td>
							<td><input name="finishTime" class="easyui-datetimebox" style="width: 155px;"
									   editable="true" id="finishTime" data-options="prompt:'请选择截止时间'" /></td>
							<td align="right">工单状态:</td>
							<td><select id="orderStatus" name="orderStatus"
										class="easyui-textbox" data-options="prompt:'请选择工单状态'"
										style="width: 155px;"></select></td>
							<td align="right">工单受理人:</td>
							<td><select id="acceptEmp" name="acceptEmp"
										class="easyui-textbox" data-options="prompt:'请输入工单受理人'"
										style="width: 155px;"></select></td>
						</tr>
						<tr>
							<td align="right">工单发起人:</td>
							<td><select id="sponsorEmp" name="sponsorEmp"
										class="easyui-textbox" data-options="prompt:'请输入工单发起人'"
										style="width: 155px;"></select></td>
							<!-- <td align="right">工单来源:</td>
							<td><select id="orderSource" name="orderSource"
										class="easyui-combobox" data-options="prompt:'请选择工单来源'"
										style="width: 155px;"></select></td> -->
							<td align="right">属性:</td>
							<td><select id="orgTypeD" name="orgTypeD"
										class="easyui-combobox" data-options="onSelect: function(value){
											if(value.value == null || value.value == ''){
												$('#codeNameD').textbox('setValue','');
												$('#codeNameD').textbox('readonly', true);
											}else{
												$('#codeNameD').textbox('readonly', false);
											}
										}"
										style="width: 155px;"></select></td>
							<td align="right">组织名称:</td>
							<td><select id="codeNameD" name="codeNameD"
										class="easyui-textbox" data-options="prompt:'请输入组织名称'"
										style="width: 155px;"></select></td>	
							<td></td>
							<td></td>	
						</tr>
						</tbody>
					</table>
				</div>
                <td>
                	<div style="margin-left: 38px" align="right">
                        <a href="#" class="easyui-linkbutton reset" onclick="findOrderIndex(true)">查询</a>
                        <a href="#" class="easyui-linkbutton reset" onclick="resetQuery()">重置</a>
                        <a href="#" class="easyui-linkbutton reset" onclick="doExport()">导出</a>
                    </div>
                </td>
            </div>
        </div>

    </form>
</div>
	<table id="dgProblemOrder" class="easyui-datagrid" data-options="fit:true"></table>
</body>
</html>